﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master.Master" AutoEventWireup="true" CodeBehind="KaoShengIndex.aspx.cs" Inherits="zjbks.KaoShengIndex" %>

<asp:Content ID="Content1" ContentPlaceHolderID="content" runat="server">
    <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" DataKeyNames="CollageName" BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" Height="174px" Width="1150px" AllowPaging="True" AllowSorting="True" PageSize="23">
        <AlternatingRowStyle BackColor="White" />
        <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="首页" LastPageText="末页" PreviousPageText="上一页" NextPageText="下一页" />
        <Columns>
            <asp:BoundField DataField="CollageName" HeaderText="高校名称" SortExpression="CollageName" />
            <asp:BoundField DataField="Phone" HeaderText="联系电话" SortExpression="Phone" />
            <asp:BoundField DataField="Address" HeaderText="地址" SortExpression="Address" />
            <asp:BoundField DataField="youbian" HeaderText="邮编" SortExpression="youbian" />
        </Columns>
        <FooterStyle BackColor="#CCCC99" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#F7F7DE" />
        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FBFBF2" />
        <SortedAscendingHeaderStyle BackColor="#848384" />
        <SortedDescendingCellStyle BackColor="#EAEAD3" />
        <SortedDescendingHeaderStyle BackColor="#575357" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:zjbksConnectionString %>" SelectCommand="SELECT [CollageName], [Phone], [Address], [youbian] FROM [Collage]"></asp:SqlDataSource>
</asp:Content>
